package ua.org.nuos.sdms.middle.util.exception;

/**
 * Created by IntelliJ IDEA.
 * User: dio
 * Date: 05.02.12
 * Time: 16:21
 * To change this template use File | Settings | File Templates.
 */
public class InvalidCodeException extends Exception {

    private String code;

    public InvalidCodeException(String code) {
        this.code = code;
    }

    public InvalidCodeException(String s, String code) {
        super(s);
        this.code = code;
    }

    public InvalidCodeException(String s, Throwable throwable, String code) {
        super(s, throwable);
        this.code = code;
    }

    public InvalidCodeException(Throwable throwable, String code) {
        super(throwable);
        this.code = code;
    }
}
